﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Client;
namespace SPMigrationOracleUtility
{
    class ListItemPair
    {
        public string Value { get; set; }
        public string Text { get; set; }
        public BaseType ListTemplate { get; set; }
        public string URL { get; set; }
    }

    class SourceFieldType
    {
        public string fieldName { get; set; }
        public string fieldType { get; set; }
    }
    class DestFieldType
    {
        public string displayName { get; set; }
        public string internalName { get; set; }
        public string fieldType { get; set; }
        
    }
    class MappingListValues
    {
        public string MappingName { get; set; }
        public string AllItems { get; set; }
        public string Query { get; set; }
        public int Itemid { get; set; }
        public string viewName { get; set; }
        public string Description { get; set; }
        // for Excel Migration
        public string filePath { get; set; }
    }

    class MappingColumns
    {
        public string srcTableName { get; set; }
        public string destListName { get; set; }
        public string ListType { get; set; }
        public SourceFieldType srcField { get; set; }
        public DestFieldType destField { get; set; }
    }
    public class Mapping_Trans
    {
        public string viewMap { get; set; }
        // for Excel Migration
        public string migMode { get; set; }
    }

    public class Map_Col_List
    {
        public string mappingId { get; set; }
        public string srcTblName { get; set; }
        public string destListName { get; set; }
        public string srcField { get; set; }
        public string destField { get; set; }
        public string srcType { get; set; }
        public string destType { get; set; }
        public string dest_Template { get; set; }

    }
    class ExcelItemPairs
    {
        public string SrcName { get; set; }
        public string Value { get; set; }
        public string Type { get; set; }
    }
}
